package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.AdminButton;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface AdminButtonService extends IService<AdminButton> {

    Page<AdminButton> pageList(PageUtil pageUtil, String keywords);

    int dropBean(Long id);

    List<String> getByRoleId(Long roleId);

    List<String> listByRoleId(List<Long> roleIds);

    List<AdminButton> getByIds(List<Long> ids);
}
